<?php

use Biz\service\activity\FlashSale;
use Doraemon\tools\ActionLog;
/**
 * @deprecated
 */
class ListAction extends ActionPlugin
{

	public function main()
	{
		$param = $this->getRequest()->getQuery('param', "{}");
		$param = json_decode($param, true);
		list($results, $msg) = FlashSale::flashSaleList(5, $this->uid, $param);
        ActionLog::log($this->uid, [], ActionLog::BIZ_LIMIT_TIME_ROB_LIST);
		$this->setSuccess($results,self::API_CODE_SUCCES, $msg);

	}
}